package com.meida.module.bus.provider.service.srmservice;

import com.meida.common.mybatis.base.service.impl.BaseServiceImpl;
import com.meida.module.bus.client.entity.srmapi.basedata.SrmProjectinfo;
import com.meida.module.bus.provider.mapper.srm.SrmProjectinfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * SRM项目信息表接口实现类
 *
 * @author both
 * @date 2020-10-14
 */
@Transactional(rollbackFor = Exception.class)
@Service
public class SrmProjectinfoMysqlService extends BaseServiceImpl<SrmProjectinfoMapper, SrmProjectinfo> {
    @Resource
    private SrmProjectinfoMapper proMySqlMapper;

    public int truncateTableData() {
        return proMySqlMapper.truncateTableData();
    }

}
